<template>
<view class="banner_1">
	<image src="../../static/Banner/Banner2.jpg" mode="aspectFill"></image>
</view>
</template>

<script>
</script>

<style scoped>
.banner_1 {
  width: 100%;
  height: 400rpx; /* 固定高度或根据需求调整 */
  background-repeat: no-repeat;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.banner_1 image {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 保持宽高比并裁剪 */
}
</style>